package org.summerframework.component.security.core.service;

import org.summerframework.component.security.LoginData;

import javax.servlet.http.HttpSession;

/**
 * @author 石超
 * @version v1.0.0
 */
public interface SessionService<T> {
    /**
     * 完成session设置
     *
     * @param session   当前session
     * @param loginData 登录上下文
     */
    default void complete(HttpSession session, LoginData<T> loginData) {
    }
}
